<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" 
%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" 
%><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" 
%><%@ page contentType="text/html;charset=ISO-8859-1"
%><html:html locale="true">
    <head>
        <title><bean:message key="planDeEstudios.title"/></title>
        <html:base/>
        <link rel="stylesheet" type="text/css" href="../css/style.css"></link>
<style type="text/css">
div#box30769 {width: 400px; margin: 40px auto; }
form#30769 {float: left; margin: 0; padding: 0; display: inline; width: 400px; }
form#30769 p {float: left; margin: 0; padding: 0; display: inline; }
form#30769 label {float: left; margin: 0; padding: 0; display: inline; overflow: hidden; }
form#30769 input {float: left; margin: 0; padding: 0; display: inline; }
  form#30769 p#30770_C {clear: both; width: 400px; }
  form#30769 p#30770_C label {clear: both; width: 400px; }
  form#30769 p#30770_C input {clear: both; width: 396px; }
  form#30769 p#30771_C {clear: both; width: 400px; }
  form#30769 p#30771_C label {clear: both; width: 400px; }
  form#30769 p#30771_C input {clear: both; width: 396px; }
  form#30769 p#30774_C {clear: both; width: 400px; }
  form#30769 p#30774_C label {clear: both; width: 400px; }
  form#30769 p#30774_C input {clear: both; width: 396px; }
  form#30769 p#30773_C {clear: both; width: 400px; }
  form#30769 p#30773_C label {clear: both; width: 400px; }
  form#30769 p#30773_C input {clear: both; width: 396px; }
  form#30769 p#30772_C {clear: both; width: 400px; }
  form#30769 p#30772_C label {clear: both; width: 400px; }
  form#30769 p#30772_C input {clear: both; width: 396px; }

</style>
    </head>
    <body>
        <div id="header">
            <div id="title"><bean:message key="planDeEstudios.title"/></div>
            <div id="menu">
                <ul id="nav">
                    <li><html:link action="/PlanDeEstudiosElim.do" paramId="idPlan" paramName="idPlan"><bean:message key="planDeEstudios.label1"/></html:link></li>
                    <li>&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;</li>
                    <li><html:link action="/PlanDeEstudiosCoordinacionCrearI.do" paramId="idCoordinacion" paramName="idCoordinacion"><bean:message key="planDeEstudios.label2"/></html:link></li>
                    <li>&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;</li>
                    <li><html:link action="/CoordinacionI.do" paramId="idCoordinacion" paramName="idCoordinacion"><bean:message key="planDeEstudios.label3"/></html:link></li>
                    <li>&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;</li>
                    <li><html:link action="/GrupoPlanDeEstudiosCrearI.do" paramId="idPlan" paramName="idPlan"><bean:message key="planDeEstudios.label5"/></html:link></li>
                    <li>&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;</li>
                    <li><html:link action="/ModalidadPlanDeEstudiosCrearI.do" paramId="idPlan" paramName="idPlan"><bean:message key="planDeEstudios.label7"/></html:link></li>

                </ul>
            </div>
        </div>
        <div id="body_wrapper">
            <div id="body">
                <div id="split">
                    <div class="top"></div>
                    <div id="left">
                        <div class="content">
                            ${empty msg ? "" : msg}
                <div class="box30769"><html:form styleId="F30769" action="/PlanDeEstudiosAct.do">
                  <html:hidden property="idPlan"/><table>
                    <tr><td id="30773_C"><label for="30773"><bean:message key="FPlanDeEstudios.label3"/></label></td><td>&nbsp;<html:text styleId="30773" property="carrera" size="30"/></td></tr>
                    <tr><td id="30772_C"><label for="30772"><bean:message key="FPlanDeEstudios.label4"/></label></td><td>&nbsp;<html:text styleId="30772" property="nivel" size="30"/></td></tr>
                  </table>
                  <html:submit styleClass="button"><bean:message key="planDeEstudios.label0"/></html:submit>
                </html:form></div>
                
                      <table width="90%">
                          <tr align="center">
                          <td><bean:message key="planDeEstudios.label4"/></td>
                          <td><bean:message key="planDeEstudios.label6"/></td>
                          </tr>
                          <tr align="center"><td valign="top"> 
                                  <table border="1">
                                      <thead>
                                          <tr>
                                              <th>Nombre</th>
                                              <th>Prioridad</th>
                                              
                                          </tr>
                                      </thead>
                                      <tbody><% request.setAttribute("_vacio", new Object[0]);%>
                                          <logic:iterate id="grupo" collection="${empty L_Grupo ? _vacio : L_Grupo}">
                                              <tr>
                                                  <td><html:link action="/GrupoI.do" paramId="idGrupo" paramName="grupo" paramProperty="idGrupo">${grupo.nombre}</html:link></td>
                                                  <td>
                                                      ${grupo.prioridad == 0 ? "Alta" : ""}
                                                      ${grupo.prioridad == 1 ? "Media-Alta" : ""}
                                                      ${grupo.prioridad == 2 ? "Media" : ""}
                                                      ${grupo.prioridad == 3 ? "Media-Baja" : ""}
                                                      ${grupo.prioridad == 4 ? "Baja" : ""}
                                                      </td>
                                                  
                                              </tr>
                                          </logic:iterate>
                                      </tbody>
                                  </table>
                              </td><td valign="top">
                                  <table border="1">
                                      <thead>
                                          <tr>
                                              <th>Nombre</th>                           
                                          </tr>
                                      </thead>
                                      <tbody><% request.setAttribute("_vacio", new Object[0]);%>
                                          <logic:iterate id="modalidad" collection="${empty L_Modalidad ? _vacio : L_Modalidad}">
                                              <tr>
                                                  <td><html:link action="/ModalidadI.do" paramId="idModalidad" paramName="modalidad" paramProperty="idModalidad">${modalidad.nombre}</html:link></td>
                                                  
                                              </tr>
                                          </logic:iterate>
                                      </tbody>
                                  </table>
                                  
                              </td>
                          </tr>
                      </table>
                  </div>
                    </div>
                    <div id="right"><jsp:include page="/ppal/menu.jsp" flush="true"/></div>
                    <div class="clearer"></div>
                    <div class="bottom"></div>
                </div>
                <div class="clearer"></div>
            </div>
            <div class="clearer"></div>
        </div>
        <div id="end_body"></div>
        <h3 class="title"></h3>
        <div id="footer"> <bean:message key="bottom.label"/> </div>
        
    </body>
</html:html>